package com.vanguard.p2p.business.mapper;

import com.vanguard.p2p.business.domain.MoneyWithdraw;
import com.vanguard.p2p.business.example.MoneyWithdrawExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MoneyWithdrawMapper {
    int countByExample(MoneyWithdrawExample example);

    int deleteByExample(MoneyWithdrawExample example);

    int deleteByPrimaryKey(Long mwId);

    int insert(MoneyWithdraw record);

    int insertSelective(MoneyWithdraw record);

    List<MoneyWithdraw> selectByExample(MoneyWithdrawExample example);

    MoneyWithdraw selectByPrimaryKey(Long mwId);

    int updateByExampleSelective(@Param("record") MoneyWithdraw record, @Param("example") MoneyWithdrawExample example);

    int updateByExample(@Param("record") MoneyWithdraw record, @Param("example") MoneyWithdrawExample example);

    int updateByPrimaryKeySelective(MoneyWithdraw record);

    int updateByPrimaryKey(MoneyWithdraw record);
}